<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>主页</title>
        <style>
            div {
                margin: 50px auto;
                text-align: center;
                font-family: Arial;
                font-size: 30px;
            }
        </style>
        <script src="../../js/jquery-3.1.1.js"></script>
        <%--<script src="../../js/jquery.cookie.js"></script>--%>
        <script>
            $(function () {
                //前端独立获得浏览器cookies，使用插件jquery.cookie.js
                // var username = $.cookie("username");
                // $(".username-label").html(username);


            })
        </script>
    </head>
    <body>
<%--        <% out.print(request.getAttribute("username")); %>--%>
        <div>
            <label class="username-label">${username}</label>
            <label>, WELCOME!</label>
        </div>

    </body>
</html>